

#ifndef _SHELL_REQHANDLEUPTASKREQUIRES_MESSAGE_H_
#define _SHELL_REQHANDLEUPTASKREQUIRES_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
using namespace std;

class ReqHandleUpTaskRequiresMessage : public Message
{
	public:
	ReqHandleUpTaskRequiresMessage();
	~ReqHandleUpTaskRequiresMessage();
	void reset();
	ReqHandleUpTaskRequiresMessage* clone();
	static const int _ID;
	//任务id
	int32 taskId;
	//物品id(装备为动态id,其余的为模型id,-1表示由服务器直接扣除)
	int64 itemModelId;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
